//
//  AppDelegate+AutoLogin.h
//  XiangLove
//
//  Created by 陈宪栋 on 2017/11/28.
//  Copyright © 2017年 BAOMIHUA.COM. All rights reserved.
//

#import "AppDelegate.h"

typedef void(^LoginSuccessBlock)(NSString *);
typedef void(^LoginFailBlock) (NSString *);

@class XLUserInfoModel;

@interface AppDelegate (AutoLogin)

@property (nonatomic, strong) XLUserInfoModel *userInfoModel;

- (void)autoLoginSuccessBlock:(LoginSuccessBlock)success failBlock:(LoginFailBlock)failBlock;

- (void)refreshSecretKeyWithUserId:(NSString *)userId;

- (void)loginBoyibo:(LoginSuccessBlock)success failBlock:(LoginFailBlock)failBlock;

- (void)LJinitAMapLocationSDK;

- (void)LJrequestLocation;

@end
